Remove obsolete commands from zsh auto-completion
authorFelix Crux <felixc@felixcrux.com>
Sat, 19 Dec 2015 00:01:55 +0000 (19:01 -0500)
committerFelix Crux <felixc@felixcrux.com>
Sat, 19 Dec 2015 16:35:29 +0000 (11:35 -0500)
The config-for-key and config-list subcommands don't exist.

src/etc/_cargo

index 11750483c91a4f1afdd13258763daba18e8d4f3a..7d368f97bce7ce2b33ec539194bf8c9d063d22c7 100644 (file)
@@ -60,19 +60,6 @@ case $state in
                     '--color=:colorization option:(auto always never)' \
                     ;;
 
-            config-for-key)
-                _arguments \
-                    '(-h, --help)'{-h,--help}'[show help message]' \
-                    '--human[]' \
-                    '--key=[key]' \
-                    ;;
-
-            config-list)
-                _arguments \
-                    '(-h, --help)'{-h,--help}'[show help message]' \
-                    '--human[]' \
-                    ;;
-
             doc)
                 _arguments \
                     '--features=[space separated feature list]' \
@@ -286,8 +273,6 @@ local -a commands;commands=(
 'bench:execute all benchmarks of a local package'
 'build:compile the current project'
 'clean:remove generated artifacts'
-'config-for-key:print key from cargo config file'
-'config-list:print all config from cargo config file'
 'doc:build package documentation'
 'fetch:fetch package dependencies'
 'generate-lockfile:create lockfile'